﻿using Ideaa.Data.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ideaa.Data.Models.Base
{
    public class BaseEntity
    {
        public BaseEntity()
        {
            this.DateCreatedOnUtc = DateTime.Now;
        }

        public int Id { get; set; }

        public string UserId { get; set; }

        public virtual User User { get; set; }

        public DateTime DateCreatedOnUtc { get; set; }
    }
}
